<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>影视剧_影片</title>
    <link href="images/favicon.ico" rel="shortcut icon" />

    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="css/filmsLike.css">
    <style>
        /* 解决使用Vue.js页面加载数据的时候，页面闪现原始代码 */
        [v-cloak] {
            display: none;
        }
    </style>

</head>

<body>
    <!-- 导航栏部分 -->
    <div class="head">
        <div class="head-inner">
            <div class="logo"><img src="images/logo.jpg">阿里迪里影院</div>

            <div class="nav">
                <ul class="navbar">
                    <li><a class="shouye" href="home_index.html">首页</a></li>
                    <li><a href="home_filmType.html">电影</a></li>
                    <li><a href="https://maoyan.com/cinemas">影院</a></li>
                    <li><a href="http://www.gewara.com/">演出</a></li>
                    <li><a href="https://maoyan.com/board">榜单</a></li>
                    <li><a href="https://maoyan.com/news">热点</a></li>
                    <li><a href="https://maoyan.com/edimall">商城</a></li>
                </ul>
            </div>

            <form>
                <input type="text" id="cond" required placeholder="找影片、 影剧" class="search">
                <input class="sub" type="button" title="点击可搜索你喜爱的电影哦。" id="commit">
            </form>

            <div class="user-info">
                <ul class="layui-nav layui-layout-right" style="background-color:#fff;">
                    <li class="layui-nav-item"><a href="javascript:;">
                            <img id="pic" class="layui-nav-img"></a>
                        <dl class="layui-nav-child">
                            <dd id="h1" class="subMenu">
                                <a href="home_myOrder.html">我的订单</a>
                            </dd>
                            <dd id="h2" class="subMenu">
                                <a href="home_information.html">个人中心</a>
                            </dd>
                            <dd id="h3" class="subMenu">
                                <a id="logout">退出登录</a>
                            </dd>
                        </dl>
                    </li>

                </ul>
            </div>
        </div>
    </div>



    <div id="filmsLike" v-cloak>
        <div class="search-box">
            <form>
                <input type="text" class="kw" placeholder="找影片、 影剧">
                <button class="submit2" type="button" @click="commit"></button>
            </form>
        </div>

        <div class="container">
            <div class="search-result-box">
                <ul class="celebrity-list">

                    <li v-for="(f,i) in filmsLike" :key="f.filmId">
                        <div class="item-poster">
                            <a style="cursor: pointer;" @click="buy(f.filmId)">
                                <div class="poster">
                                    <img v-bind:src="'../images/'+f.filmPicture">
                                </div>
                                <div class="channel-action channel-action-sale" v-if="f.filmStatus==1">
                                    <a>购票</a>
                                </div>
                                <div class="channel-action channel-action-sales" v-else>
                                    <a>预购</a>
                                </div>
                            </a>
                        </div>
                        <div class="item-title"><a style="cursor: pointer;" @click="buy(f.filmStatus,f.filmId)">{{f.filmName}}</a></div>
                        <div class="item-subtitle">Donald F. Glut</div>
                        <div class="absolute-info">
                            <div class="item-detail item-detail-orange">暂无关注</div>
                            <div class="item-detail item-detail-two-line line-clamp">{{f.filmType}}</div>
                            <div class="movie-pub">{{f.filmYear}} {{f.filmCountry}}上映</div>
                        </div>
                    </li>

                </ul>

                <div class="empty-list" v-if="filmsLike==null || filmsLike.length==0">
                    <h3>很抱歉，没找到相关的影片</h3>
                    <dl>
                        <dt>这边建议您：</dt>
                        <dd>1.请检查输入的关键词是否有误</dd>
                        <dd>2.请缩短关键词</dd>
                    </dl>
                </div>
            </div>
        </div>
    </div>

    <!--底部版块部分-->
    <div class="footer">
        <p class="footer-font">
            关于阿里迪里：
            <a href="#">关于我们</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">管理团队</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
                href="#">投资者关系</a>&nbsp;&nbsp;&nbsp;&nbsp;
            友情链接：
            <a href="https://maoyan.com/films">猫眼电影</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
                href="https://maoyan.com/cinemas">猫眼影院</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
                href="https://maoyan.com/edimall">猫眼商城</a>
        </p>

        <p>
            商务合作邮箱：alidli@qq.com &nbsp;&nbsp;|&nbsp;&nbsp;客服电话：10104422
        </p>

        <p class="footer-font">
            Copyright &copy; 2020 - {{nowYear}} 版权所有| by<a href="http://www.gd-nf.com.cn/"> gd-nf</a>
        </p>

        <p>
            &copy;2020 阿里迪里影视 alidli.com
        </p>

        <div class="footer-end">
            <img src="images/bankuai1.png"><img src="images/bankuai2.png"><img src="images/bankuai3.png">
        </div>
    </div>

    <script src="../js/jquery-1.12.4.min.js"></script>
    <script src="../js/jquery.cookie.js"></script>
    <script src="../js/Vue.js"></script>
    <script src="../layer/layer.js"></script>
    <script src="../layui/layui.js"></script>
    <script src="js/home-same.js"></script>
    <script src="js/home-filmsLike.js"></script>

</body>
</html>